import {
    SET_ADDVISIBLE,
    SET_DELVISIBLE,
    SET_DELID,
    SET_MODALTITLE,
    SET_MODALFORM,
    SET_BROKERVISIBLE
} from '../actionType'

export const set_addVisible = (data) => {
    return {
        type: SET_ADDVISIBLE,
        payload: data
    }
}
export const set_delVisible = (data) => {
    return {
        type: SET_DELVISIBLE,
        payload: data
    }
}
export const set_delId = (data) => {
    return {
        type: SET_DELID,
        payload: data
    }
}
export const set_modalTitle = (data) => {
    return {
        type: SET_MODALTITLE,
        payload: data
    }
}
export const set_modalForm = (data) => {
    return {
        type: SET_MODALFORM,
        payload: data
    }
}
export const set_brokerVisible = (data) => {
    return {
        type: SET_BROKERVISIBLE,
        payload: data
    }
}